Skip to content

feature: Add Download .md button to main header#193

Open
JavaProgswing wants to merge 1 commit into
Mohit-368:mainfrom
JavaProgswing:feat/export-markdown-file
Open

feature: Add Download .md button to main header#193
JavaProgswing wants to merge 1 commit into
Mohit-368:mainfrom
JavaProgswing:feat/export-markdown-file

Conversation

@JavaProgswing
Copy link
Copy Markdown

Description

This PR introduces the "Download .md" button in the main header of the ReadmeMaker, allowing developers to directly download their generated README.md file to their local machine instead of manually copying the Markdown text.

Changes Made:

  • Added a handleDownloadMd method to generate a text/markdown Blob from the current editor state.
  • Triggered a native browser download for README.md.
  • Attached a toast notification confirming the successful download.
  • Added the "Download .md" button next to "Copy Markdown" in the top-right header area.

Closes #189

Checklist:

  • Tested changes by opening index.html (or running the local dev server) in the browser
  • Verified that no console errors appear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature][Frontend] Implement "Export as .md file" functionality

1 participant